/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2024-05-18     liuchao       the first version
 */
#ifndef APPLICATIONS_ALIYUN_H_
#define APPLICATIONS_ALIYUN_H_
#include <stdarg.h>
#include <cJSON.h>
char* aliyun_product_key();
char* aliyun_device_name();
char* aliyun_product_secret();
char* aliyun_device_secret();
int aliyun_pub_property_float(const char* name, float v);
int aliyun_pub_property_int32(const char* name, rt_int32_t v);
int aliyun_pub_properties(cJSON* payload_j);
int aliyun_get_property_desired(const char* property, ...);

#endif /* APPLICATIONS_ALIYUN_H_ */
